package com.ruoyi.punishment.mapper;

import java.util.List;
import com.ruoyi.punishment.domain.FirefighterPunishment;

/**
 * 处分情况Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-11
 */
public interface FirefighterPunishmentMapper
{
    /**
     * 查询处分情况
     *
     * @param id 处分情况主键
     * @return 处分情况
     */
    public FirefighterPunishment selectFirefighterPunishmentById(Long id);

    /**
     * 查询处分情况列表
     *
     * @param firefighterPunishment 处分情况
     * @return 处分情况集合
     */
    public List<FirefighterPunishment> selectFirefighterPunishmentList(FirefighterPunishment firefighterPunishment);

    /**
     * 新增处分情况
     *
     * @param firefighterPunishment 处分情况
     * @return 结果
     */
    public int insertFirefighterPunishment(FirefighterPunishment firefighterPunishment);

    /**
     * 修改处分情况
     *
     * @param firefighterPunishment 处分情况
     * @return 结果
     */
    public int updateFirefighterPunishment(FirefighterPunishment firefighterPunishment);

    /**
     * 删除处分情况
     *
     * @param id 处分情况主键
     * @return 结果
     */
    public int deleteFirefighterPunishmentById(Long id);

    /**
     * 批量删除处分情况
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFirefighterPunishmentByIds(Long[] ids);

    void deleteFirefighterPunishmentByIdsuser(Long userId);
}
